package com.qianli.cashmama.trade.integration.product.dto;

import java.math.BigDecimal;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2017/7/20
 * Time: 下午5:41
 * 产品信息
 */
public class ProductDto {

    /**
     * 产品code
     */
    private String productCode;

    /**
     * 产品状态
     */
    private int status;
    /**
     * 借款总金额
     */
    private BigDecimal borrowTotalCapital = new BigDecimal(0);
    /**
     * 到账总金额
     */
    private BigDecimal receivedTotalCapital = new BigDecimal(0);
    /**
     * 总服务费
     */
    private BigDecimal totalServiceFee = new BigDecimal(0);
    /**
     * 借款利率
     */
    private BigDecimal borrowRatio = new BigDecimal(0);
    /**
     * 服务费率(个税贷)
     */
    private BigDecimal serviceFeeRate = new BigDecimal(0);
    /**
     * 总期数
     */
    private Integer totalPeriod = 1;
    /**
     * 借款周期
     */
    private Integer borrowDuration = 1;
    /**
     * 逾期利率
     */
    private BigDecimal overdueRatio = new BigDecimal(0);

    /**
     * 逾期服务费
     */
    private BigDecimal overdueServiceFee = new BigDecimal(0);

    /**
     * 产品类目
     */
    private String productCategory;

    /**
     * 周期的长度
     */
    private int periodLength;

    /**
     * GST 税费
     */
    private BigDecimal gstCharge;

    public int getPeriodLength() {
        return periodLength;
    }

    public ProductDto setPeriodLength(int periodLength) {
        this.periodLength = periodLength;
        return this;
    }

    public String getProductCategory() {
        return productCategory;
    }

    public ProductDto setProductCategory(String productCategory) {
        this.productCategory = productCategory;
        return this;
    }

    public BigDecimal getOverdueServiceFee() {
        return overdueServiceFee;
    }

    public ProductDto setOverdueServiceFee(BigDecimal overdueServiceFee) {
        this.overdueServiceFee = overdueServiceFee;
        return this;
    }

    public int getStatus() {
        return status;
    }

    public ProductDto setStatus(int status) {
        this.status = status;
        return this;
    }

    public String getProductCode() {
        return productCode;
    }

    public ProductDto setProductCode(String productCode) {
        this.productCode = productCode;
        return this;
    }

    public BigDecimal getBorrowTotalCapital() {
        return borrowTotalCapital;
    }

    public ProductDto setBorrowTotalCapital(BigDecimal borrowTotalCapital) {
        this.borrowTotalCapital = borrowTotalCapital;
        return this;
    }

    public BigDecimal getReceivedTotalCapital() {
        return receivedTotalCapital;
    }

    public ProductDto setReceivedTotalCapital(BigDecimal receivedTotalCapital) {
        this.receivedTotalCapital = receivedTotalCapital;
        return this;
    }

    public BigDecimal getTotalServiceFee() {
        return totalServiceFee;
    }

    public ProductDto setTotalServiceFee(BigDecimal totalServiceFee) {
        this.totalServiceFee = totalServiceFee;
        return this;
    }

    public BigDecimal getBorrowRatio() {
        return borrowRatio;
    }

    public ProductDto setBorrowRatio(BigDecimal borrowRatio) {
        this.borrowRatio = borrowRatio;
        return this;
    }

    public BigDecimal getServiceFeeRate() {
        return serviceFeeRate;
    }

    public ProductDto setServiceFeeRate(BigDecimal serviceFeeRate) {
        this.serviceFeeRate = serviceFeeRate;
        return this;
    }

    public Integer getTotalPeriod() {
        return totalPeriod;
    }

    public ProductDto setTotalPeriod(Integer totalPeriod) {
        this.totalPeriod = totalPeriod;
        return this;
    }

    public Integer getBorrowDuration() {
        return borrowDuration;
    }

    public ProductDto setBorrowDuration(Integer borrowDuration) {
        this.borrowDuration = borrowDuration;
        return this;
    }

    public BigDecimal getOverdueRatio() {
        return overdueRatio;
    }

    public ProductDto setOverdueRatio(BigDecimal overdueRatio) {
        this.overdueRatio = overdueRatio;
        return this;
    }

    public BigDecimal getGstCharge() {
        return gstCharge;
    }

    public ProductDto setGstCharge(BigDecimal gstCharge) {
        this.gstCharge = gstCharge;
        return this;
    }
}
